package net.hnedu.map;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class UserInfo implements Serializable {

    /** identifier field */
    private Long id;

    /** persistent field */
    private String username;

    /** persistent field */
    private String nickname;

    /** persistent field */
    private String passwd;

    /** persistent field */
    private String repasswd;

    /** persistent field */
    private String email;

    /** persistent field */
    private String question;

    /** persistent field */
    private String answer;

    /** persistent field */
    private long loginTime;

    /** persistent field */
    private long logoutTime;

    /** persistent field */
    private int loginTimes;

    /** persistent field */
    private short post;

    /** persistent field */
    private int exp;

    /** persistent field */
    private int expression;

    /** persistent field */
    private int articleNum;

    /** persistent field */
    private long stayTime;

    /** persistent field */
    private short power;

    /** persistent field */
    private short hpower;

    /** nullable persistent field */
    private String signName1;

    /** nullable persistent field */
    private String signDetail1;

    /** nullable persistent field */
    private String signName2;

    /** nullable persistent field */
    private String signDetail2;

    /** nullable persistent field */
    private String signName3;

    /** nullable persistent field */
    private String signDetail3;

    /** nullable persistent field */
    private String friend;

    /** nullable persistent field */
    private String boardSave;

    /** nullable persistent field */
    private String canInBoards;

    /** nullable persistent field */
    private short havePic;

    /** nullable persistent field */
    private String picFileName;

    /** nullable persistent field */
    private long style;

    /** nullable persistent field */
    private short superAdmin;

    /** nullable persistent field */
    private short manager;

    /** nullable persistent field */
    private short board;

    /** nullable persistent field */
    private short boardMaster;

    /** nullable persistent field */
    private short bulletin;

    /** nullable persistent field */
    private short userAdmin;

    /** nullable persistent field */
    private short forumPerNum;

    /** nullable persistent field */
    private short postPerNum;

    /** nullable persistent field */
    private String timeZone;

    /** nullable persistent field */
    private long regTime;

    /** nullable persistent field */
    private String userFrom;

    /** nullable persistent field */
    private long lastLoginTime;

    /** full constructor */
    public UserInfo(String username, String nickname, String passwd, String repasswd, String email, String question, String answer, long loginTime, long logoutTime, int loginTimes, short post, int exp, int expression, int articleNum, long stayTime, short power, short hpower, String signName1, String signDetail1, String signName2, String signDetail2, String signName3, String signDetail3, String friend, String boardSave, String canInBoards, short havePic, String picFileName, long style, short superAdmin, short manager, short board, short boardMaster, short bulletin, short userAdmin, short forumPerNum, short postPerNum, String timeZone, long regTime, String userFrom, long lastLoginTime) {
        this.username = username;
        this.nickname = nickname;
        this.passwd = passwd;
        this.repasswd = repasswd;
        this.email = email;
        this.question = question;
        this.answer = answer;
        this.loginTime = loginTime;
        this.logoutTime = logoutTime;
        this.loginTimes = loginTimes;
        this.post = post;
        this.exp = exp;
        this.expression = expression;
        this.articleNum = articleNum;
        this.stayTime = stayTime;
        this.power = power;
        this.hpower = hpower;
        this.signName1 = signName1;
        this.signDetail1 = signDetail1;
        this.signName2 = signName2;
        this.signDetail2 = signDetail2;
        this.signName3 = signName3;
        this.signDetail3 = signDetail3;
        this.friend = friend;
        this.boardSave = boardSave;
        this.canInBoards = canInBoards;
        this.havePic = havePic;
        this.picFileName = picFileName;
        this.style = style;
        this.superAdmin = superAdmin;
        this.manager = manager;
        this.board = board;
        this.boardMaster = boardMaster;
        this.bulletin = bulletin;
        this.userAdmin = userAdmin;
        this.forumPerNum = forumPerNum;
        this.postPerNum = postPerNum;
        this.timeZone = timeZone;
        this.regTime = regTime;
        this.userFrom = userFrom;
        this.lastLoginTime = lastLoginTime;
    }

    /** default constructor */
    public UserInfo() {
    }

    /** minimal constructor */
    public UserInfo(String username, String nickname, String passwd, String repasswd, String email, String question, String answer, long loginTime, long logoutTime, int loginTimes, short post, int exp, int expression, int articleNum, long stayTime, short power, short hpower) {
        this.username = username;
        this.nickname = nickname;
        this.passwd = passwd;
        this.repasswd = repasswd;
        this.email = email;
        this.question = question;
        this.answer = answer;
        this.loginTime = loginTime;
        this.logoutTime = logoutTime;
        this.loginTimes = loginTimes;
        this.post = post;
        this.exp = exp;
        this.expression = expression;
        this.articleNum = articleNum;
        this.stayTime = stayTime;
        this.power = power;
        this.hpower = hpower;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return this.nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPasswd() {
        return this.passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getRepasswd() {
        return this.repasswd;
    }

    public void setRepasswd(String repasswd) {
        this.repasswd = repasswd;
    }

    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getQuestion() {
        return this.question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return this.answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public long getLoginTime() {
        return this.loginTime;
    }

    public void setLoginTime(long loginTime) {
        this.loginTime = loginTime;
    }

    public long getLogoutTime() {
        return this.logoutTime;
    }

    public void setLogoutTime(long logoutTime) {
        this.logoutTime = logoutTime;
    }

    public int getLoginTimes() {
        return this.loginTimes;
    }

    public void setLoginTimes(int loginTimes) {
        this.loginTimes = loginTimes;
    }

    public short getPost() {
        return this.post;
    }

    public void setPost(short post) {
        this.post = post;
    }

    public int getExp() {
        return this.exp;
    }

    public void setExp(int exp) {
        this.exp = exp;
    }

    public int getExpression() {
        return this.expression;
    }

    public void setExpression(int expression) {
        this.expression = expression;
    }

    public int getArticleNum() {
        return this.articleNum;
    }

    public void setArticleNum(int articleNum) {
        this.articleNum = articleNum;
    }

    public long getStayTime() {
        return this.stayTime;
    }

    public void setStayTime(long stayTime) {
        this.stayTime = stayTime;
    }

    public short getPower() {
        return this.power;
    }

    public void setPower(short power) {
        this.power = power;
    }

    public short getHpower() {
        return this.hpower;
    }

    public void setHpower(short hpower) {
        this.hpower = hpower;
    }

    public String getSignName1() {
        return this.signName1;
    }

    public void setSignName1(String signName1) {
        this.signName1 = signName1;
    }

    public String getSignDetail1() {
        return this.signDetail1;
    }

    public void setSignDetail1(String signDetail1) {
        this.signDetail1 = signDetail1;
    }

    public String getSignName2() {
        return this.signName2;
    }

    public void setSignName2(String signName2) {
        this.signName2 = signName2;
    }

    public String getSignDetail2() {
        return this.signDetail2;
    }

    public void setSignDetail2(String signDetail2) {
        this.signDetail2 = signDetail2;
    }

    public String getSignName3() {
        return this.signName3;
    }

    public void setSignName3(String signName3) {
        this.signName3 = signName3;
    }

    public String getSignDetail3() {
        return this.signDetail3;
    }

    public void setSignDetail3(String signDetail3) {
        this.signDetail3 = signDetail3;
    }

    public String getFriend() {
        return this.friend;
    }

    public void setFriend(String friend) {
        this.friend = friend;
    }

    public String getBoardSave() {
        return this.boardSave;
    }

    public void setBoardSave(String boardSave) {
        this.boardSave = boardSave;
    }

    public String getCanInBoards() {
        return this.canInBoards;
    }

    public void setCanInBoards(String canInBoards) {
        this.canInBoards = canInBoards;
    }

    public short getHavePic() {
        return this.havePic;
    }

    public void setHavePic(short havePic) {
        this.havePic = havePic;
    }

    public String getPicFileName() {
        return this.picFileName;
    }

    public void setPicFileName(String picFileName) {
        this.picFileName = picFileName;
    }

    public long getStyle() {
        return this.style;
    }

    public void setStyle(long style) {
        this.style = style;
    }

    public short getSuperAdmin() {
        return this.superAdmin;
    }

    public void setSuperAdmin(short superAdmin) {
        this.superAdmin = superAdmin;
    }

    public short getManager() {
        return this.manager;
    }

    public void setManager(short manager) {
        this.manager = manager;
    }

    public short getBoard() {
        return this.board;
    }

    public void setBoard(short board) {
        this.board = board;
    }

    public short getBoardMaster() {
        return this.boardMaster;
    }

    public void setBoardMaster(short boardMaster) {
        this.boardMaster = boardMaster;
    }

    public short getBulletin() {
        return this.bulletin;
    }

    public void setBulletin(short bulletin) {
        this.bulletin = bulletin;
    }

    public short getUserAdmin() {
        return this.userAdmin;
    }

    public void setUserAdmin(short userAdmin) {
        this.userAdmin = userAdmin;
    }

    public short getForumPerNum() {
        return this.forumPerNum;
    }

    public void setForumPerNum(short forumPerNum) {
        this.forumPerNum = forumPerNum;
    }

    public short getPostPerNum() {
        return this.postPerNum;
    }

    public void setPostPerNum(short postPerNum) {
        this.postPerNum = postPerNum;
    }

    public String getTimeZone() {
        return this.timeZone;
    }

    public void setTimeZone(String timeZone) {
        this.timeZone = timeZone;
    }

    public long getRegTime() {
        return this.regTime;
    }

    public void setRegTime(long regTime) {
        this.regTime = regTime;
    }

    public String getUserFrom() {
        return this.userFrom;
    }

    public void setUserFrom(String userFrom) {
        this.userFrom = userFrom;
    }

    public long getLastLoginTime() {
        return this.lastLoginTime;
    }

    public void setLastLoginTime(long lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

}
